﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: UserGroupsEntity.cs
// 修改时间：2020-9-8 10:40:13
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：UserGroups 的实体类.
	/// </summary>
	[Table("UserGroups")]
	public partial class UserGroupsEntity
	{
		#region Properties
		private int? _groupID = 0;
		/// <summary>
		/// 用户组ID(主键)
		/// </summary>
		[Column("GroupID",TypeName="int")]
		[Key]
		public int? GroupID
		{
			get {return _groupID;}
			set {_groupID = value;}
		}
		
		private System.String _groupName = string.Empty;
		/// <summary>
		/// 用户组名
		/// </summary>
		[Column("GroupName",TypeName="nvarchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String GroupName
		{
			get {return _groupName;}
			set {_groupName = value;}
		}
		
		private System.String _description = string.Empty;
		/// <summary>
		/// 用户组说明
		/// </summary>
		[Column("Description",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Description
		{
			get {return _description;}
			set {_description = value;}
		}
		
		private System.String _settings = string.Empty;
		/// <summary>
		/// 用户组设置，用XML保存如下配置。
		/// </summary>
		[Column("Settings",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Settings
		{
			get {return _settings;}
			set {_settings = value;}
		}
		
		private int? _groupType = 0;
		/// <summary>
		/// 用户类型
		/// </summary>
		[Column("GroupType",TypeName="int")]
		public int? GroupType
		{
			get {return _groupType;}
			set {_groupType = value;}
		}
		
		private System.String _groupSetting = string.Empty;
		/// <summary>
		/// 用户权限
		/// </summary>
		[Column("GroupSetting",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String GroupSetting
		{
			get {return _groupSetting;}
			set {_groupSetting = value;}
		}
		
		private System.String _upgradeSetting = string.Empty;
		/// <summary>
		/// 用户升级参数设置
		/// </summary>
		[Column("UpgradeSetting",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String UpgradeSetting
		{
			get {return _upgradeSetting;}
			set {_upgradeSetting = value;}
		}
		
		#endregion
	}
}
